package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;
import com.rockcent.mall.lib.domain.Product;

import java.util.List;

/**
 * Created by zhangjh on 2016/11/3.
 */
public class RecommendDto extends DtoEntity {
    /**
     * 推荐商家
     */
    private Long merchantId;
    /**
     * 商家名称
     */
    private String merchantName;
    /**
     * 推荐标题
     */
    private String title;
    /**
     * 商家logo
     */
    private String logoUrl;
    /**
     * 是否关注
     */
    private Boolean taken = false;
    /**
     * 筛选推荐商家 YES /NO
     */
    private String  isRecommend;
    /**
     * 产品列表
     */
    private List<Product> productList;

    /**
     * 商家介绍
     */
    private String intro;

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public Boolean getTaken() {
        return taken;
    }

    public String getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(String isRecommend) {
        this.isRecommend = isRecommend;
    }

    public void setTaken(Boolean taken) {
        this.taken = taken;
    }

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    @Override
    public String toString() {
        return "RecommendDto{" +
                "merchantId=" + merchantId +
                ", merchantName='" + merchantName + '\'' +
                ", title='" + title + '\'' +
                ", logoUrl='" + logoUrl + '\'' +
                ", taken=" + taken +
                ", isRecommend='" + isRecommend + '\'' +
                ", productList=" + productList +
                ", intro='" + intro + '\'' +
                '}';
    }
}
